package com.ruoyi.project.xkx.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.xkx.order.OrderDetailsService;
import com.ruoyi.project.xkx.order.domain.OrderDetails;
import com.ruoyi.project.xkx.order.mapper.OrderDetailsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author WuYalong
 * @since 2021-05-12
 */
@Service
public class OrderDetailsServiceImpl extends ServiceImpl<OrderDetailsMapper, OrderDetails> implements OrderDetailsService {

    @Autowired
    private OrderDetailsMapper orderDetailsMapper;

    @Override
    public OrderDetails getOrderDetailsByOrderNumber(String orderNumber) {
        return orderDetailsMapper.getOrderDetailsByOrderNumber(orderNumber);
    }
}
